package com.yonyou.gmmc.service.getCar.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.getCar.model.TtEtco;

import tk.mybatis.mapper.common.Mapper;
@OracleDb
public interface TtEtcoMapper extends Mapper<TtEtco> {
	/**
	 * 获取销售店的取车，送车，取送车服务时间配置
	 */
	public Map<String, Object> findGscTime(@Param("dealerCode") String dealerCode);
	/**车主信息 */
	public Map<String, Object> queryMember(@Param("userId") String userId);
	
	/**取送车服务顾问信息*/
	public Map<String, Object> findSaInfo(@Param("resnId") String resnId);
	/**获取取送车ID*/
	public Integer findPkEtcoId();
	/**获取首选经销商地址*/
	public String findDealerAddr(@Param("userId") String userId);
	/**获取车主家地址*/
	public String findHomeAddr(@Param("userId") String userId);
	/**获取历史地址信息*/
	public List<Map<String, Object>> querySearchHistory(@Param("addrName") String addrName,@Param("userId") String userId);
	/**取送（车）订单列表*/
	public List<Map<String, Object>> queryQscList(@Param("userId") Integer userId);
	/**取送（车）订单详情*/
	public Map<String, Object> queryQscDetail(@Param("etcoId") Integer etcoId);
	/**获取车主手机号*/
	public String findCarPhone(@Param("userId") Integer userId);
	/**获取用户积分*/
	public String findCarPoints(@Param("userId") Integer userId);
}